#!/bin/bash
set -o errexit # Set the shell option to exit on error

DIRNAME=`dirname $0`
source ${DIRNAME}/action_functions.bash
red='\033[0;31m'
green='\033[0;32m'
yellow='\033[0;33m'
plain='\033[0m'

CURRPATH=`pwd`
cd ${DIRNAME}

bash 01-install-aliyum.sh
bash 02-install-tools.sh
bash 03-install-docker.sh
bash 04-install-ansible.sh
#bash 05-upgrade-kernel.sh
bash 06-system-param.sh
bash 07-optimizing-config.sh

cd ${CURRPATH}
echo -e "${yellow}Warning:${plain} 05-upgrade-kernel.sh not implemented."

